# $Id: PKGBUILD 176881 2013-02-02 04:31:49Z bisson $
# Contributor: Willey Chen <chwilley@gmail.com>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=ttf-hannom
pkgver=2005
pkgrel=2
pkgdesc='Chinese and Vietnamese TrueType fonts'
url='http://vietunicode.sourceforge.net/fonts/fonts_hannom.html'
license=('custom:non-profit')
arch=('any')
depends=('fontconfig' 'xorg-fonts-encodings')
source=("http://downloads.sourceforge.net/project/vietunicode/hannom/hannom%20v${pkgver}/hannomH.zip"
        'README')
sha1sums=('1a207b5ade4984521fa476f50c979a4674f48079'
          '13e207063602d498a1b6949505bb3ef3d47f6f03')

install=install

package() {
	cd "${srcdir}"
	install -d "${pkgdir}"/usr/share/fonts/TTF
	install -m644 *.ttf "${pkgdir}/usr/share/fonts/TTF"
	install -Dm644 README "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
